package lion.formail.reader.obj;

/**
 * foxmail idx index file
 * 
 * @author lion
 * @email hl_0074@sina.com
 * @date 2014年4月29日
 */
public class Idx implements java.io.Serializable {

	private static final long serialVersionUID = -2176365010365607127L;
	private int index = 0;
	private boolean isDelete = false;
	private boolean isReadAlready = false;
	private int offSet = 0;
	private int size = 0;
	private String sender;
	private boolean hasAttachment = false;
	private String subject;

	// private Date sendDate;

	public boolean isHasAttachment() {

		return hasAttachment;
	}

	public void setHasAttachment(boolean hasAttachment) {

		this.hasAttachment = hasAttachment;
	}

	public int getIndex() {

		return index;
	}

	public void setIndex(int index) {

		this.index = index;
	}

	public boolean isDelete() {

		return isDelete;
	}

	public void setDelete(boolean isDelete) {

		this.isDelete = isDelete;
	}

	public boolean isReadAlready() {

		return isReadAlready;
	}

	public void setReadAlready(boolean isReadAlready) {

		this.isReadAlready = isReadAlready;
	}

	public int getOffSet() {

		return offSet;
	}

	public void setOffSet(int offSet) {

		this.offSet = offSet;
	}

	// public Date getSendDate() {
	// return sendDate;
	// }
	// public void setSendDate(Date sendDate) {
	// this.sendDate = sendDate;
	// }
	public String getSender() {

		return sender;
	}

	public void setSender(String sender) {

		this.sender = sender;
	}

	public int getSize() {

		return size;
	}

	public void setSize(int size) {

		this.size = size;
	}

	public String getSubject() {

		return subject;
	}

	public void setSubject(String subject) {

		this.subject = subject;
	}

}
